package team.seekers.hula.teamwork.teamTodo.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * 团队todo
 * @author hbc
 * @since 2023-01-05
 */
@Data
public class TeamTodoUpdateDTO {

    @ApiModelProperty(value = "团队待办id")
    @NotBlank(message = "待办id不能为空")
    @Size(min = 19,max = 19, message = "待办id长度必须为19")
    private String id;

    @ApiModelProperty(value = "团队待办的团队id")
    private String teamId;

    @ApiModelProperty(value = "团队待办标题")
    @NotBlank(message = "待办标题不能为空")
    @Size(max = 50, message = "标题长度不能超过50")
    private String title;

    @ApiModelProperty(value = "团队待办截止时间")
    private Date gmtEnd;

}
